<template
  ><el-form ref="form" :model="list" label-width="80px" size="mini">
    <el-row :gutter="20">
      <el-col :span="6"
        ><div class="grid-content ">
          <el-form-item label="题型" prop="tags">
            <el-input v-model="list[1].subject"></el-input>
          </el-form-item></div
      ></el-col>
      <el-col :span="6"
        ><div class="grid-content ">
          <el-form-item label="编号" prop="tags">
            <el-input v-model="list[1].id"></el-input>
          </el-form-item></div
      ></el-col>
      <el-col :span="6"
        ><div class="grid-content ">
          <el-form-item label="难度" prop="tags">
            <el-input v-model="list[1].subject"></el-input>
          </el-form-item></div
      ></el-col>
      <el-col :span="6"
        ><div class="grid-content ">
          <el-form-item label="标签" prop="tags">
            <el-input v-model="list[1].subject"></el-input>
          </el-form-item></div
      ></el-col>
      <el-col :span="6"
        ><div class="grid-content ">
          <el-form-item label="学科" prop="tags">
            <el-input v-model="list[1].subject"></el-input>
          </el-form-item></div
      ></el-col>
      <el-col :span="6"
        ><div class="grid-content ">
          <el-form-item label="目录" prop="tags">
            <el-input v-model="list[1].subject"></el-input>
          </el-form-item></div
      ></el-col>
      <el-col :span="6"
        ><div class="grid-content ">
          <el-form-item label="方向" prop="tags">
            <el-input v-model="list[1].subject"></el-input>
          </el-form-item></div
      ></el-col>
      <el-col :span="24"
        ><div class="grid-content ">
          <el-form-item label="题干" prop="tags">
            <el-input v-model="list[1].subject"></el-input>
          </el-form-item></div
      ></el-col>
      <el-col :span="24"
        ><div class="grid-content">
          <el-form-item label="参考答案" prop="tags">
            <el-input v-model="list[1].subject"></el-input>
          </el-form-item></div
      ></el-col>
      <el-col :span="24"
        ><div class="grid-content ">
          <el-form-item label="答案解析" prop="tags">
            <el-input v-model="list[1].subject"></el-input>
          </el-form-item></div
      ></el-col>
      <el-col :span="24"
        ><div class="grid-content ">
          <el-form-item label="题目备注" prop="tags">
            <el-input v-model="list[1].subject"></el-input>
          </el-form-item></div
      ></el-col>
    </el-row>
  </el-form>
</template>
<script>
// 导入精选题库接口
import { choice as choicelist } from '@/api/hmmm/questions.js'
export default {
  data() {
    return {
      list: []
    }
  },
  created() {
    this.getList()
  },
  methods: {
    async getList() {
      const list = await choicelist(this.query)
      const listt = list.data
      this.list = listt.items
      this.total = listt.pages
      console.log(listt)
    }
  }
}
</script>
<style rel="stylesheet/scss" lang="scss" scoped>
.el-row {
  margin-bottom: 20px;
  &:last-child {
    margin-bottom: 0;
  }
}
.el-col {
  border-radius: 4px;
}
.bg-purple-dark {
  background: #99a9bf;
}
.bg-purple {
  background: #d3dce6;
}
.bg-purple-light {
  background: #e5e9f2;
}
.grid-content {
  border-radius: 4px;
  min-height: 36px;
}
.row-bg {
  padding: 10px 0;
  background-color: #f9fafc;
}
</style>
